class Movie(object):

    def __init__(self, movie_name="", movie_year=""):
        self.movie_name = movie_name
        self.movie_year = movie_year
        self.movie_title = movie_name + " (" + movie_year + ")"

    @classmethod
    def random(cls):
        from random import randint
        return cls(movie_name="movie_" + str(randint(10000, 99999)),
                   movie_year=str(randint(1900, 2015)))
